package com.example.library_demo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 * 充值
 * @author Eric
 * @since 2024-11-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("l_recharge")
public class Recharge implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId(value = "recharge_id", type = IdType.AUTO)
    private Long rechargeId;

    private Long userId;

    private BigDecimal topUpMoney;

    private LocalDateTime topUpDatetime;

    private Long cardId;


}
